<ion-header  class="nav-header">
  <ion-toolbar>
    <ion-buttons slot="start">
      <ion-button (click)="closePage()">
        <ion-icon class="toolbar-white" ios="ios-close"></ion-icon>
      </ion-button>
    </ion-buttons>
    <ion-title>投注成功</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content class="bet-c">
  <ion-list lines="full"> 
    <div *ngFor="let item of orderArr">
       <h5>成功提交注单</h5>
      <ion-item >
          <ion-label text-wrap>
            <p>订单:&nbsp;{{item.show_id}}</p>  
            <p>方式:&nbsp;{{item.lotname}}</p>
            <p>内容:&nbsp;{{item.depiction}}</p>
            <p><span class="num-c-span">赔率:&nbsp;<span class="red">{{item.rate}}</span></span>
               <span  class="num-c-span">金额:<span class="red">{{item.cash | decimal}}</span></span>
            </p>
            <p>时间:&nbsp;{{item.created | datestr:'p'}}</p>
          </ion-label>
        </ion-item>
      </div>
  </ion-list>
</ion-content>
<ion-footer>
  <ion-grid class="res-operating">
    <ion-row class="res-num">
      <ion-col size="6">
          总计&nbsp;&nbsp;<ion-label color="primary">{{sum.cnt}}&nbsp;注</ion-label>
      </ion-col>
      <ion-col size="6">
          总计&nbsp;&nbsp;<ion-label color="primary">{{sum.sum | decimal}}&nbsp;元</ion-label>
      </ion-col>
    </ion-row>
    <ion-row class="res-button">
      <ion-col size="6">
        <ion-button shape="round" (click)="betDetailPage()"  expand="block">注单详细</ion-button>
      </ion-col>
      <ion-col size="6">
        <ion-button shape="round"  (click)="closePage()" expand="block">继续下注</ion-button>
      </ion-col>
    </ion-row>
  </ion-grid>
</ion-footer>